package com.example.activiti.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.activiti.demo.dto.SysUserDto;
import com.example.activiti.demo.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author xiong
 * @since 2020-02-21
 */
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {

    List<SysUser> querySysUserPage(Page<SysUser> page, @Param("userDto") SysUserDto userDto);

    List<String> fingRoleCodeByUserId(String sysUserId);
}
